//
// gui.c
//

#include <gtk/gtk.h>

#include "callbacks.h"


void  f_gui_instantiate(void)
{
    GtkBuilder *gtk_builder;
    GtkWidget  *window;
    
    gtk_builder = gtk_builder_new();
    gtk_builder_add_from_file(gtk_builder, "img/cherrytree.glade", NULL);
    gtk_builder_connect_signals(gtk_builder, NULL);
    window = GTK_WIDGET(gtk_builder_get_object(gtk_builder, "window"));
    
    g_signal_connect(window, "delete-event", G_CALLBACK(f_on_window_delete_event), NULL);
    
    gtk_widget_show_all(window);
}


void  f_gui_init(void)
{
}


void  f_gui_quit(void)
{
}
